import { request } from "@/utils/request002";
// 教室管理----分页
export const queryAllClassRoom = (params: any) => {
  return request({
    url: '/teaching/classRoom/page',
    method: 'GET',
    params
  })
}

// 教室管理----新增
export const addClassRoom = (data: any) => {
  return request({
    url: '/teaching/classRoom/add',
    method: 'POST',
    data
  })
}

// 教室管理----编辑
export const editClassRoom = (data: any) => {
  return request({
    url: '/teaching/classRoom/edit',
    method: 'POST',
    data
  })
}

// 教室管理----删除
export const deleteClassRoom = (data: any) => {
  return request({
    url: '/teaching/classRoom/delete',
    method: 'POST',
    data
  })
}
